package com.anglireports.report.data.base;

/**
 * @author lvjilei
 * @ceateTime 2019/3/27.
 */
public enum ResultCodeEnum {
    /**
     * 成功
      */
    SUCCESS(0 , "success"),
    /**
     * 参数有误
     */
    PARAM_ERROR(1 , "param error"),
    /**
     * 暂无学生
     */
    NO_STUDENTS(2 , "no students"),
    /**
     * 暂无数据
     */
    NO_DATA(3 , "no data"),
    /**
     * 失败
     */
    ERROR(-9999 , "fail");




    private Integer err_code;

    private String err_msg;


    public Integer getErr_code() {
        return err_code;
    }

    public void setErr_code(Integer err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    ResultCodeEnum(Integer err_code, String err_msg){
        this.err_code = err_code;
        this.err_msg = err_msg;
    }

}
